<br /><br />
<div id="view-content">
    <?php
    $event = $this->event;
    ?>
    <div class=article><a class='artTitle'
                          href="
                          <?php echo $this->url(array('module' => 'default', 'controller' => 'Events', 'action' => 'read', 'id' => $event->getId())) ?>
                          ">
                              <?php echo $event->getTitle() ?>
        </a>
        <div class='artHead'>
            <?php echo $event->getDate() . " " . $this->translate('view_event_readall_by') . " " . $event->getOwner()->toString() ?>
        </div> 
        <div class='img'><img src="/appliweb/<?php echo $event->getPicturePath() ?>
                              "/>
            <div class='content'>
                <?php echo $event->getContent() ?>
            </div>
        </div>

        <?php
        echo "<div class='comments'>";
        foreach ($event->getComments() as $comment) {
            ?>
            <div class=comment>
                <div class=comHead>
                    <div class="comAvatar">
                        <img src="/appliweb/public/images/visitor.png"/>
                    </div>
                    <div class="comMeta">
                        <div class=comAuthor>
                            <?php echo $comment->getAuthor()->toString(); ?>
                        </div>
                        <div class=comDate>
                            <?php echo $comment->getDate() ?>
                        </div>
                    </div>
                </div>
                <div class='comContent'> 
                    <?php echo $comment->getContent() ?> 
                </div>
            </div>
            <?php
        }
        echo "</div>";

        echo $this->form;
        ?>
    </div>
</div>